package com.bincloud.vue.admin.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.bincloud.vue.admin.common.model.entity.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author bincloud, mvpzhou
 * @since 2022-02-17
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("ums_role")
public class UmsRole extends BaseEntity {

    /**
     * 角色名称
     */
    @TableField("name")
    private String name;

    /**
     * 角色代码
     */
    @TableField("code")
    private String code;

    /**
     * 资源排序
     */
    @TableField("sort")
    private Integer sort;

    /**
     * 状态(0 启用 1 禁用)
     */
    @TableField("state")
    private Integer state;


}
